<?php $this->headScript()->appendFile($this->JS_PATH . 'building.js'); ?>
<div id="building-listing"></div>
<div class="container-fluid">
<div id="pad-wrapper" class="form-page">
    <div class="row-fluid form-wrapper">
        <!-- left column -->
        <div class="span column">

            <?php if ($this->successmessage != ''): ?>
                <div class="alert alert-success">
                    <i class="icon-ok-sign"></i> <?php echo $this->successmessage; ?>
                </div>
            <?php endif; ?>
            <?php if (count($this->errorMessageArray) > 0): ?>
                <div class="alert alert-error">
                    <?php foreach ($this->errorMessageArray as $erroValue): ?>

                        <div class="text-left">
                            <i class="icon-remove-sign"></i>
                            <?php echo $erroValue; ?>
                        </div>
                    <?php endforeach; ?>
                </div>
            <?php endif; ?>
            <h3><?php echo $this->mode;?> <?php echo $this->translate("building_header"); ?></h3>
             <br />
            <form role="form" id="building-form" name="building-form"  enctype="multipart/form-data"  action="" method="post">
                <div class="field-box">
                    <label><?php echo $this->translate("build_frm_name"); ?><span class="error-star">*</span>:</label>
                    <?php echo $this->form->build_name; ?>
                </div>

                <div class="field-box">
                    <label><?php echo $this->translate("build_frm_phone"); ?><span class="error-star">*</span>:</label>
                    <?php echo $this->form->build_phone; ?>
                </div>

                <div class="field-box">
                    <label><?php echo $this->translate("build_frm_site"); ?><span class="error-star">*</span>:</label>
                        <?php echo $this->form->site_id; ?>
                </div>
                
                <div class="field-box">
                    <label><?php echo $this->translate("build_frm_address"); ?><span class="error-star">*</span>:</label>
                    <?php echo $this->form->build_address; ?>
                </div>
                
                <div class="field-box">
                    <label><?php echo $this->translate("build_frm_city"); ?><span class="error-star">*</span>:</label>
                    <?php echo $this->form->build_city; ?>
                </div>

                <div class="field-box">
                    <label><?php echo $this->translate("build_frm_status"); ?><span class="error-star">*</span>:</label>
                    <div class="ui-select">
                    <?php echo $this->form->build_status; ?>
                    </div> 
                </div>
                <br>

                
                <div class="field-box">
                    <?php echo $this->form->Save; ?>
                    <?php echo $this->form->Reset; ?> 
                </div>



            </form>
        </div>
    </div>
</div>
</div>